package com.example.ch10.location;

import android.content.Intent;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

public class GPSSettingsActivity extends AppCompatActivity {
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        startActivityForResult(
                new Intent(
                        android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS
                ), 0);
    }
}